import request from '@/libs/request';
 
// 认证
export function getShopAuth(data) {
    return request({
      url: 'ShopAuth/index',
      method: 'get',
      params: data,
    });
  }

//省市区
export function getProvinceFn(data) {
  return request({
    url: 'Region/getChildrenById',
    method: 'get',
    params: data,
  });
}

//设备分类
export function getProductCategory(data) {
  return request({
    url: 'ProductCategory/index',
    method: 'get',
    params: data,
  });
}

//获取品牌
export function getBrand() {
  return request({
    url: '/ShopBrand/index',
    method: 'get',
  });
}


//国家列表
export function getCountryCode() {
  return request({
    url: '/CountryCode/index',
    method: 'get',
  });
}

//国家列表
export function getCountry() {
  return request({
    url: '/ComUserBuy/country',
    method: 'get',
  });
}


//商品列表
export function getProductList(data) {
  return request({
    url: 'ProductAuditLog/AuditList',
    method: 'get',
    params: data,
  });
}


//国内询价
export function getLocalInquiry(data) {
  return request({
    url: 'UserEnquiry/index',
    method: 'get',
    params: data,
  });
}


//国外询价
export function getOverseasInquiry(data) {
  return request({
    url: 'ComUserEnquiry/index',
    method: 'get',
    params: data,
  });
}
  

//资产处置列表
export function getUserAssets(data) {
  return request({
    url: 'UserAssets/index',
    method: 'get',
    params: data,
  });
}
  
//国内求购
export function getUserBuy(data) {
  return request({
    url: 'UserBuy/index',
    method: 'get',
    params: data,
  });
}

//国外求购
export function getComUserBuy(data) {
  return request({
    url: 'ComUserBuy/index',
    method: 'get',
    params: data,
  });
}


//举报列表
export function getUserReport(data) {
  return request({
    url: 'UserReport/index',
    method: 'get',
    params: data,
  });
}

//国内反馈
export function getUserFeedback(data) {
  return request({
    url: 'UserFeedback/index',
    method: 'get',
    params: data,
  });
}

//国外反馈
export function getComUserFeedback(data) {
  return request({
    url: 'ComUserFeedback/index',
    method: 'get',
    params: data,
  });
}

//订单列表

export function getOrderIndex(data) {
  return request({
    url: 'Order/index',
    method: 'get',
    params: data,
  });
}

//配置
export function getJobOptionsList(data) {
  return request({
    url: 'JobOptionsList/read',
    method: 'get',
    params: data,
  });
}


//招聘省份
export function getJobPositions(data) {
  return request({
    url: 'JobPositions/summary',
    method: 'get',
    params: data,
  });
}

//招聘列表
export function getJobPosList(data) {
  return request({
    url: 'JobPositions/index',
    method: 'get',
    params: data,
  });
}




// 商品列表
export function getAllProductList(data) {
  return request({
    url: 'ProductList/index',
    method: 'get',
    params: data,
  });
}

//注册方式
export function getRegTypeList(data) {
  return request({
    url: 'Common/regTypeList',
    method: 'get',
    params: data,
  });
}

//行业分类
export function getUserCategory(data) {
  return request({
    url: 'UserCategory/index',
    method: 'get',
    params: data,
  });
}

//用户列表
export function getUserList(data) {
  return request({
    url: 'User/index',
    method: 'get',
    params: data,
  });
}

//经销商列表
export function getShopDealerList(data) {
  return request({
    url: 'ShopDealer/index',
    method: 'get',
    params: data,
  });
}

//邮箱列表
export function getPlatformNotifyEmail(data) {
  return request({
    url: 'PlatformNotifyEmail/index',
    method: 'get',
    params: data,
  });
}


//留言列表
export function getUserGuestbook(data) {
  return request({
    url: 'UserGuestbook/index',
    method: 'get',
    params: data,
  });
}



 //足迹列表 
export function getUserViewLog(data) {
  return request({
    url: 'UserViewLog/index',
    method: 'get',
    params: data,
  });
}




//跟踪人

export function UserTrackingLog(data) {
  return request({
    url: 'UserTrackingLog/account',
    method: 'get',
    params: data,
  });
}



export function getUserTrackingLog(data) {
  return request({
    url: 'UserTrackingLog/index',
    method: 'get',
    params: data,
  });
}

export function getUserActionLog(data) {
  return request({
    url: 'UserActionLog/index',
    method: 'get',
    params: data,
  });
}

export function getGeetestConfig(data) {
  return request({
    url: 'Passport/getGeetestConfig',
    method: 'get',
    params: data,
  });
}


export function loginAccont(data) {
  return request({
    url: 'Passport/login',
    method: 'post',
    data,
  });
}


export function getAdminMenu(data) {
  return request({
    url: 'AdminMenu/list',
    method: 'get',
    params: data,
  });
}


export function getComOrderList(data) {
  return request({
    url: 'ComOrderList/index',
    method: 'get',
    params: data,
  });
}


export function getCustomsDeclarationType(data) {
  return request({
    url: 'CustomsDeclarationType/index',
    method: 'get',
    params: data,
  });
}


export function getReceivingAccount(data) {
  return request({
    url: 'ReceivingAccount/index',
    method: 'get',
    params: data,
  });
}

export function getReceivingCompany(data) {
  return request({
    url: 'ReceivingCompany/index',
    method: 'get',
    params: data,
  });
}
export function getReceivingAccountRef(data) {
  return request({
    url: 'ReceivingAccountRef/index',
    method: 'get',
    params: data,
  });
}


export function getTextExample(data) {
  return request({
    url: 'TextExample/index',
    method: 'get',
    params: data,
  });
}

export function getProductAttr(data) {
  return request({
    url: 'ProductAttr/userList',
    method: 'get',
    params: data,
  });
}

export function getMedia(data) {
  return request({
    url: 'Media/index',
    method: 'get',
    params: data,
  });
}


export function getUserCategoryMix(data) {
  return request({
    url: 'UserCategory/mix',
    method: 'get',
    params: data,
  });
}


export function getImService(data) {
  return request({
    url: 'ImService/index',
    method: 'get',
    params: data,
  });
}


export function getAdminOperationLog(data) {
  return request({
    url: 'AdminOperationLog/index',
    method: 'get',
    params: data,
  });
}


export function getRegionIndex(data) {
  return request({
    url: 'Region/index',
    method: 'get',
    params: data,
  });
}

export function getCrmOptionsList(data) {
  return request({
    url: 'CrmOptionsList/index',
    method: 'get',
    params: data,
  });
}




export function getLogisticsCompany(data) {
  return request({
    url: 'LogisticsCompany/listing',
    method: 'get',
    params: data,
  });
}



export function getShopSeo(data) {
  return request({
    url: 'ShopSeo/index',
    method: 'get',
    params: data,
  });
}


export function getLinks(data) {
  return request({
    url: 'links/index',
    method: 'get',
    params: data,
  });
}


export function getAppConfig(data) {
  return request({
    url: 'AppConfig/index',
    method: 'get',
    params: data,
  });
}


export function getAppVersion(data) {
  return request({
    url: 'AppVersion/index',
    method: 'get',
    params: data,
  });
}

export function getReviewTemplateType(data) {
  return request({
    url: 'ReviewTemplateType/index',
    method: 'get',
    params: data,
  });
}

export function getReviewTemplate(data) {
  return request({
    url: 'ReviewTemplate/index',
    method: 'get',
    params: data,
  });
}

export function getTradeTerms(data) {
  return request({
    url: 'TradeTerms/index',
    method: 'get',
    params: data,
  });
}




export function getSiteMessageTemplate(data) {
  return request({
    url: 'SiteMessageTemplate/index',
    method: 'get',
    params: data,
  });
}

export function getRankingRules(data) {
  return request({
    url: 'RankingRules/index',
    method: 'get',
    params: data,
  });
}


export function getUserRead(data) {
  return request({
    url: 'User/read',
    method: 'get',
    params: data,
  });
}


export function getFollow(data) {
  return request({
    url: 'Follow/user',
    method: 'get',
    params: data,
  });
}
export function getFavorites(data) {
  return request({
    url: 'Favorites/user',
    method: 'get',
    params: data,
  });
}
export function getJobFavoriteList(data) {
  return request({
    url: 'JobFavoriteList/index',
    method: 'get',
    params: data,
  });
}


export function getShopStat(data) {
  return request({
    url: 'ShopStat/values',
    method: 'get',
    params: data,
  });
}


export function getBrandMall(data) {
  return request({
    url: 'BrandMall/status',
    method: 'post',
    data,
  });
}


export function auditShopAuth(data) {
  return request({
    url: 'ShopAuth/audit',
    method: 'post',
    data,
  });
}